home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / A.D. Software / OOFGraph / Application Source / temperaturetest.hpp < prev   
Text File  |  1996-05-03  |  430b  |  22 lines

  1. #ifndef TEMP_TEST
  2. #define TEMP_TEST
  3.  
  4. #include "oofile.hpp"
  5.  
  6. DECLARE_CLASS(dbTemperature)
  7.     dbChar        Day, Time;
  8.     dbLong        Temp;
  9.  
  10.     dbTemperature() :
  11.                 dbTable("Temperatures"),
  12.                 Day(12, "Day", kIndexCompress),
  13.                 Time(12, "Time", kIndexCompress),
  14.                 Temp("Temperature", kIndexed)
  15.                 {};
  16.     
  17. // my own data entry procedures
  18.     void Add(const char *day, const char *time, const long temp);
  19.     void AddTestData();
  20. };
  21.  
  22. #endif // TEMP_TEST